<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateParkSpace extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('park_space', function (Blueprint $table) {
//            $table->bigIncrements('id')->comment('车位表自增id');
//            $table->string('owner_name')->comment('业主姓名');
//            $table->string('owner_mobile')->comment('业主手机号');
//            $table->string('owner_house_number')->comment('业主门牌号');
//            $table->string('tenant_name')->comment('车主姓名');
//            $table->string('tenant_mobile')->comment('车主手机号');
//            $table->string('car_number')->comment('车牌号');
//            $table->string('tenant_house_number')->comment('车主门牌号');
//            $table->string('tenant_positive_imgurl')->comment('租客身份证正面照');
//            $table->string('tenant_negative_imgurl')->comment('租客身份证反面照');
//            $table->string('park_period')->comment('车位租期');
//            $table->string('park_status')->comment('车位状态');
//            $table->engine = 'InnoDB';
//            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('park_space');
    }
}
